package hongcaosp.app.android.user.settings.treaty;

import android.content.Context;
import android.content.Intent;
import android.view.View;

import hongcaosp.app.android.R;
import xlj.lib.android.base.component.BaseActivity;

/**
 * 自律公约
 */
public class TreatyActivity extends BaseActivity {

    public static void launcher(Context context) {
        context.startActivity(new Intent(context,TreatyActivity.class));
    }

    @Override
    protected void initData(Intent intent) {

    }

    @Override
    protected void initView() {
        findViewById(R.id.back_btn).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_treaty;
    }
}
